package com.lcq.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcq.common.utils.PageUtils;
import com.lcq.gulimall.product.entity.SkuSaleAttrValueEntity;
import com.lcq.gulimall.product.vo.Attr;
import com.lcq.gulimall.product.vo.ItemSaleAttrVo;

import java.util.List;
import java.util.Map;

/**
 * sku销售属性&值
 *
 * @author lichuanqi
 * @email lichuanqi0086@163.com
 * @date 2021-02-21 17:28:25
 */
public interface SkuSaleAttrValueService extends IService<SkuSaleAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSaleAttrs(Long skuId, List<Attr> attr);

    List<ItemSaleAttrVo> getSaleAttr(Long spuId);

    List<String> getSkuSaleAttrList(Long skuId);
}

